package cn.youframe.frame.dao;

import cn.youframe.frame.base.BaseDao;
import cn.youframe.frame.beans.CommTypeVO;
import cn.youframe.frame.beans.CommTypeValVO;

import java.util.List;

/**
 * User: Administrator
 * DateTime: 13-2-18: 下午4:08
 */
public interface DictDao extends BaseDao{
    public List<CommTypeValVO> queryDictVals();
    public List<CommTypeVO> queryTypes();
    public int addType(CommTypeVO typeVO);
    public int updateType(CommTypeVO typeVO,String oldTypeId);
    public int updateTypeVals(String newTypeId,String oldTypeId);
    public int delType(String typeId);
    public int delTypeVals(String typeId);
}
